home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 7
/
PC World Interactive 7.iso
/
program
/
ctutord.EXE
/
71.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-09-17
|
446b
|
21 lines
/*
There may be additional include files required depending
upon the compile product you are using. Typical compilers
include Microsoft C by Microsoft or Turbo C by Boland Int'l.
*/
#include <stdio.h>
struct payroll {
char name[40];
long ssnumber;
long salary;
};
main()
{
struct payroll oneperson;
oneperson.salary = 15000;
oneperson.ssnumber = 77777;
printf("%ld %ld\n",oneperson.salary,oneperson.ssnumber );
}